package com.xunfei.noteapp.data

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "note")
data class Note(
    @PrimaryKey(autoGenerate = true) var id : Long = 0,
    var title : String,
    var timestamp: Long = System.currentTimeMillis(),
    var content: String
)